300 REM ONE OF THE PROGRAMMING METHODS USED HAS BEEN ADAPTED AND MODIFIED FROM A PROGRAM IN "SOME COMMON BASIC PROGRAMS",POOLE & BORCHERS,1978. . . . . .
310 REM PERMISSION FOR USE BY PUBLISHER: ADAM OSBORNE ASSOC.,BERKLEY,CA. . . . .
320 REM ORIGINALLY PREPARED BY MAX J. NAREFF SAN FRANCISCO,CA. 1979
330 REM INTEGRATED,STRUCTURED, UPDATED AND EDITED BY THOMAS R. PIPER CENTERVILLE,IOWA,1982
340 REM ----------------
350 REM EXECUTIVE.MODULE
360 REM ----------------
370 REM M.M.INSTRUCTIONS
380 GOSUB 500
390 REM METRIC.MAGIC.MENU
400 GOSUB 740
410 REM AREA,LENGTH,VOLUME,
420 REM TEMPERATURE,WEIGHT,
430 REM KITCHEN,END:MODULES
440 ON Y GOSUB 1000,2000,3000,4000,5000,6000,8000
450 REM ANOTHER CONVERSION?
460 GOSUB 7000
470 REM -CLOSING STATEMENT-
480 GOSUB 8000
490 END
500 REM ----------------------
510 REM M.M.INSTRUCTION.MODULE
520 REM ----------------------
530 HOME : PRINT
540 INVERSE : HTAB 14: PRINT "INTRODUCTION"
550 HTAB 14: PRINT "------------": NORMAL
560 HTAB 5: PRINT "THIS IS A SERIES OF PROGRAMS FOR"
570 PRINT "THE CONVERSION OF MEASUREMENTS TO AND"
580 PRINT "FROM THE METRIC SYSTEM WHICH WILL BE"
590 PRINT "INVOLVING UNITS OF AREA,LENGTH,WEIGHT,"
600 PRINT "VOLUME,TEMPERATURE AND A COMPILATION"
610 PRINT "OF MEASUREMENTS FOR KITCHEN USE."
620 PRINT : PRINT : INVERSE : HTAB 8: PRINT "HOW THE PROGRAM OPERATES"
630 HTAB 8: PRINT "------------------------": NORMAL
640 HTAB 5: PRINT "FIRST, A MENU WILL APPEAR."
650 PRINT "AFTER SELECTING A TYPE OF CONVERSION,"
660 PRINT "THE INDEX OF YOUR CHOICE WILL APPEAR"
670 PRINT "ON THE NEXT PAGE AS A LIST OF MEASURE-"
680 PRINT "MENTS.NOTE THE INDEX NUMBER AND ENTER"
690 PRINT "ON REQUEST.YOU WILL THEN BE ASKED FOR"
700 PRINT "THE VALUE TO BE CONVERTED."
710 PRINT
720 VTAB 24: HTAB 6: PRINT "*** PRESS RETURN FOR MENU ***";: GET X$: HOME
730 RETURN
740 REM -----------------
750 REM METRIC.MAGIC.MENU
760 REM -----------------
770 HOME
780 VTAB 7: HTAB 11: PRINT "METRIC.MAGIC.MENU"
790 HTAB 11: PRINT "-----------------": PRINT
800 HTAB 12: PRINT "(1) AREA"
810 HTAB 12: PRINT "(2) LENGTH"
820 HTAB 12: PRINT "(3) VOLUME"
830 HTAB 12: PRINT "(4) TEMPERATURE"
840 HTAB 12: PRINT "(5) WEIGHT"
850 HTAB 12: PRINT "(6) KITCHEN"
860 HTAB 12: PRINT "(7) END": PRINT : PRINT
870 INVERSE
880 HTAB 3: PRINT "ENTER TYPE OF CONVERSION NEEDED:";: GET Y
3370 PRINT : HTAB 7: PRINT "VALUE TO BE CONVERTED:";
3375 INPUT I
3380 : REM EQUATION FOR CONVERSION OF INPUT VALUE
3385 R = I *V(N): REM V(N) OBTAINED FROM ARRAY LOOP
3390 INVERSE
3395 ON N GOSUB 3415,3420,3425,3430,3435,3440,3445,3450,3455,3460,3465,3470,3475,3480,3485,3490,3495,3500,3505,3510,3515,3520,3525,3530,3535,3540,3545,3550,3555,3560,3565,3570,3575,3580,3585,3590,3595,3600,11000,11050